﻿using BCCommon.Enums.TMS;
using BCMongoEntity.TMS.Fence;
using System.Collections.Generic;

namespace BCMongoData.TMS.Fence
{
    public interface IFenceMongoData
    {
        FenceMongoEntity AddNew(FenceMongoEntity fenceMongoEntity, GpsMapType gpsMapType);
        FenceMongoEntity Update(FenceMongoEntity fenceMongoEntity, GpsMapType gpsMapType);
        bool Delete(string id); 
        List< FenceMongoEntity> GetIntoFenceList(double lng, double lat, string ProvinceCode, string CityCode, string CountyCode, GpsMapType gpsMapType);

        FenceMongoEntity IntoFence(string id, double lng, double lat, GpsMapType gpsMapType);
    }
}